Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix plotting to stop using methods/attributes removed from models #491

Closed
wants to merge 2 commits into from

Conversation

JasonKChow
Copy link
Contributor

Summary:
Dim grid no longer exists in models, plotting code updated to use standalone dim_grid.

Bounds are gone from models so get_lse_interval needs to separately define the bounds of the grid to sample from.

Differential Revision: D67535775

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 20, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67535775

Summary:

New mypy errors due to mypy update. We update to latest mypy version and now pin so we don't get more surprises.

Note that the ignore in dim_grid is necessary as that is a perfectly valid use of slice (with imaginary numbers for the step value) but  mypy seems to not understand that usage in numpy.

Differential Revision: D67537899
…cebookresearch#491)

Summary:

Dim grid no longer exists in models, plotting code updated to use standalone dim_grid.

Bounds are gone from models so get_lse_interval needs to separately define the bounds of the grid to sample from.

Differential Revision: D67535775
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67535775

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 2f6ee28.

JasonKChow added a commit that referenced this pull request Dec 20, 2024
Summary:
Pull Request resolved: #491

Dim grid no longer exists in models, plotting code updated to use standalone dim_grid.

Bounds are gone from models so get_lse_interval needs to separately define the bounds of the grid to sample from.

Reviewed By: crasanders

Differential Revision: D67535775

fbshipit-source-id: 4ffdbfff7f1911c8c5c4293499d11da02653b4c6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants